<%@page import="java.net.URLDecoder"%>
<%@page pageEncoding="UTF-8"%>
<%
	Cookie[] cookies = request.getCookies();
	String user = "";
	String date = "";
	if (cookies != null)
	{
		for (int i = 0; i < cookies.length; i++)
		{
			if (cookies[i].getName().equals("mrCookie"))
			{
				cookies[i].setMaxAge(0); //设置cookie有效期限为30天
				response.addCookie(cookies[i]);
				%>
				删除成功！
				<a href="index.jsp">[ 返回 ]</a>
				<%
			}
		}
	}
%>